Book Image

Real-World SRE

By : Nat Welch
Book Image

Real-World SRE

By: Nat Welch

Overview of this book

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.
Table of Contents (13 chapters)

Example architecture interview

A common interview question is to ask interviewees to design a scalable piece of infrastructure on a whiteboard. This usually has an interviewer describing a business or piece of software, and then the interviewee needs to ask questions to clarify, and then draw out an architecture diagram.

To approach an interview like this, I suggest starting as general as you can and then refining on parts that the interviewer is curious about and wants more clarification on. Three very common questions are as follows:

  • Design a distributed cron system
  • Design a scalable URL shortener
  • Design a large-scale CMS

For building distributed cron, I suggest you take a look at Chapter 24, Distributed Periodic Scheduling with Cron, of Google's SRE Book, where you can walk through one possible design in detail (

For building a CMS, Chapter 6, Capacity Planning, in this book has a few example designs you...