Google Production
Environment
April 2022
Slides by Torres, Google Switzerland With credits to the authors and contributors of the SRE book, especially JC van Winkel
Copyright By PowCoder代写 加微信 powcoder
¡ñ Edge Network
¡ñ Center Setup
¡ñ Data center
¡ñ Cluster
¡ñ Machine
Cluster Management
Config Files
BNS addresses: /bns/
Persistent store
Lock Service
Consistent data, e.g.
BNS paths->IP addresses master election
Cluster … Spanner
Cluster … …
Bigtable … Colossus
Monitoring
Data Alerts
Global Borgmon
Cluster Borgmon
Scraping Borgmon
Time Series Database
Cluster Borgmon
Scraping Borgmon
Cluster Borgmon
Scraping Borgmon
Alert Manager
Server Communication
Stubby Stub
Java Client
Stubby Server
Stubby Stub
Ruby Client
protobuf request protobuf response
protobuf request protobuf response
Code Repository
Changelist
submit… done!
Looks Good To Me
OK! Approval
Piper Code Repository
Reviewer Owner
Presubmit Checks
Continuous Build and Deployment
Continuous Testing Framework
Piper Code Repository
Binaries MPM
Production
Tying it all together…
¡ñ Develop the software: Piper, Blaze
¡ñ Build the MPMs: Rapid
¡ñ Run it in a cluster: Borg, which uses Chubby
¡ñ Route requests: GFE, GSLB, ProtoBuf, Stubby
¡ñ Store and read messages: Spanner
¡ñ Monitor and fire alerts: Borgmon
¡ñ Roll out new versions: Sisyphus
List of related open-source projects
¡ñ Cluster management: Kubernetes (kubernetes.io)
¡ñ Lock service: ZooKeeper (zookeeper.apache.org), etcd (coreos.com/etcd)
¡ñ Storage: HDFS (hadoop.apache.org), Cassandra (cassandra.apache.org)
¡ñ Monitoring: Prometheus (prometheus.io)
¡ñ RPC: gRPC (grpc.io)
¡ñ Data serialization: Protocol Buffers (developers.google.com/protocol-buffers)
¡ñ Google style guides (github.com/google/styleguide)
¡ñ The Go programming language (golang.org)
¡ñ Code repository: Git (git-scm.com)
¡ñ Code review: Rietveld (github.com/rietveld-codereview/rietveld)
¡ñ Building: Bazel (bazel.io)
More Information…
Site Reliability Engineering
How Google Runs Production Systems
, , & ‘ , March 2016
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com