Site Reliability Engineering at Google
1
- 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
2
- Google used OpenFlow in 2013
3
- 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.
4
- don't overachieve - Users 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.
5
- If 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.
6
- ...until a better long-term solution was achieved, but some worried this kind of workaround would delay a real fix. This 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 “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.
7
- automate as much as possible
8
- release engineering... damn, didnt even know this existed
9
- balance between stability and agility
10
11
- All paging alerts should also be actionable.
12
- 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.
13
- test everything, dont just assume
14
- have a plan and clear definition of roles
15
- learn from postmortems, dont repeat mistakes
16
17
18
- MVP - Minimum Viable Product; launch and iterate
19
- gre (generic routing encapsulation) is sometimes a godsend
20
21
- different types of failing; gracefully, catastrophically..
22
- testing until failure and beyond
23
- stonith - shoot the other node in the head; fucking perfect
24
25
26
- hope is not a strategy and defense in depth
27
28
29
- ops work is full of distractions
30
- number of tickets should not scale with the growth of service
31
32
- if a lot services, uniformity in the monitoring, automation, etc. helps alot
33
- similar problems exist in separate domains
Appendix B
- contains the best practices; useful as a summary of the whole book