Real-World SRE: The Survival Guide for Responding to a System Outage and Maximizing Uptime
Book information
Description
Real-World SRE is the go-to survival guide for the software developer in the middle of catastrophic website failure. Site Reliability Engineering (SRE) has emerged on the frontline as businesses strive to maximize uptime. This book is a step-by-step framework to follow when your website is down and the countdown is on to fix it. Nat Welch has battle-hardened experience in reliability engineering at some of the biggest outage-sensitive companies on the internet. Arm yourself with his tried-and-tested methods for monitoring modern web services, setting up alerts, and evaluating your incident response. Real-World SRE goes beyond just reacting to disaster―uncover the tools and strategies needed to safely test and release software, plan for long-term growth, and foresee future bottlenecks. Real-World SRE gives you the capability to set up your own robust plan of action to see you through a company-wide website crisis. The final chapter of Real-World SRE is dedicated to acing SRE interviews, either in getting a first job or a valued promotion. What you will learn * Monitor for approaching catastrophic failure * Alert your team to an outage emergency * Dissect your incident response strategies * Test automation tools and build your own software * Predict bottlenecks and fight for user experience * Eliminate the competition in an SRE interview Who this book is for Real-World SRE is aimed at software developers facing a website crisis, or who want to improve the reliability of their company's software. Newcomers to Site Reliability Engineering looking to succeed at interview will also find this invaluable. Cover Copyright Mapt upsell Contributors Table of Contents Preface Chapter 1 - Introduction A brief history What is SRE? What is in the book? SRE as a framework for new projects Summary References Chapter 2 - Monitoring Why monitoring? Instrumenting an application What should we measure? A short introduction to SLIs, SLOs, and error budgets Service levels Error budgets Collecting and saving monitoring data Polling applications Nagios Prometheus Cacti Sensu Push applications StatsD Telegraf ELK Displaying monitoring information Arbitrary queries Graphs Dashboards Chatbots Managing and maintaining monitoring data Communicating about monitoring Do they even know there is monitoring? References and related reading Future reading Summary Chapter 3 - Incident Response What is an incident? What is incident response? Alerting When do you alert? How do you alert? Alerting services What is in an alert? Who do you alert? Being on call Communication Incident Command System (ICS) Where do you communicate? Recovering the system Calling all clear Summary Chapter 4 - Postmortems What is a postmortem? Why write a postmortem? When to write a postmortem document Carrying out incident analysis How to write a postmortem document Summary Impact Timeline Root cause Action items Postmortems without action items Appendix Blameless postmortems Holding a postmortem meeting Analyzing past postmortems MTTR and MTBF Alert fatigue Discussing past outages Summary References Chapter 5 - Testing and Releasing Testing What do you test? Testing code Testing infrastructure Testing processes Releasing When to release Releasing to production Validating your release Rollbacks Automation Continuous everything Summary Chapter 6 - Capacity Planning A quick introduction to business finance Why plan? Managing risk and managing expectations Defining a plan What is our current capacity? When are we going to run out of capacity? How should we change our capacity? State and concurrency Is your service limited by another service? Scaling for events Unpredictable growth–user-generated content Preplanned versus autoscaling Delivering Execute the plan Architecture–where performance changes come from Tech as a profit center and procurement Summary Chapter 7 - Building Tools Finding projects Defining projects RDD Example Design documents Planning projects Example Retrospectives and standups Allocation Building projects Advice for writing code Separation of concerns Long-term work Example OKRs Notebooks Documenting and maintaining projects Summary Chapter 8 - User Experience An introduction to design and UX Real-world interaction design User testing Picking an experience Designing the test Finding people to test Developer experience Experience of tools Performance budgets Security Authentication Authorization Risk profile Phishing ACM code of ethics Summary References Chapter 9 - Networking Foundations The internet Sending an HTTP request DNS dig Ethernet and TCP/IP Ethernet IP CIDR notation ICMP UDP TCP HTTP curl and wget Tools for watching the network netstat nc tcpdump Summary Chapter 10 - Linux and Cloud Foundations Linux fundamentals Everything is a file Files, directories, and inodes Sockets Devices /proc Filesystem layout What is a process? Zombies Orphans What is nice? syscalls How to trace Watching processes Build your own Cloud fundamentals VMs Containers Load balancing Autoscaling Storage Queues and Pub/Sub Units of scale Example architecture interview Summary References Other Books You May Enjoy Index
Similar books
Real-World SRE: The Survival Guide for Responding to a System Outage and Maximizing Uptime
2018 · EPUB
MySQL® Notes for Professionals book
2018 · PDF
MrExcel 2022: Boosting Excel
2022 · PDF
MrExcel 2022: Boosting Excel
2022 · PDF
Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36
2010 · PDF
THE BRITISH ARMY IN INDIA: ITS PRESERVATION BY AN APPROPRIATE CLOTHING, HOUSING, LOCATING, RECREATIVE EMPLOYMENT, AND HOPEFUL ENCOURAGEMENT OF THE TROOPS. with AN APPENDIX ON INDIA : THE CLIMATE OP ITS HILLS ; THE DEVELOPMENT OF ITS RESODRCBS, INDUSTRY, AND ARTS ; THE ADMINISTRATION OF JUSTICE ; THE BLACK ACT ; THE PROGRESS OF CHRISTIANITY ; THE TRAFFIC IN OPIUM ; THE VALUE OF INDIA ; PERMANENT CAUSES OF DISAFFECTION, AND OF THE RECENT REBELLION ; THE TRADITIONARY POLICY; MISGOVERNMENT BY NATIVE RULERS ; ANNEXATIONS OF THEIR TERRITORY, ETC.
1858 · PDF
Idries Shah 27 Books Collection : A Perfumed Scorpion, A Veiled Gazelle, Caravan of Dreams, Darkest England, Destination Mecca, Evenings with Idries Shah, Knowing How to Know, Learning How to Learn, Letters and Lectures of Idries Shah, Neglected aspects of Sufi study, Observations, Oriental Magic, Reflections, Seeker after Truth, Special Illumination, Special Problems in the study of Sufi ideas, Sufi thought and action, Tales of the Dervishes, The Dermis Probe, The Elephant in the Dark, The Englishman Handbook, Idries Shah Antology, The Magic Monastery, The natives are restless, wisdom of the Idiots PDF.
2022 · PDF
The travels of Capts. Lewis and Clarke from St. Louis, by way of the Missouri and Columbia rivers, to the Pacific ocean; performed in the years 1804, 1805 & 1806, by order of the government of the United States. Containing delineations of the manners, customs, religion, &c. of the Indians, comp. from various authentic sources, and original documents, and a summary of the Statistical view of the Indian nations, from the official communication of Meriwether Lewis. Illustrated with a map of the country, inhabited by the western tribes of Indians
1809 · PDF