At Weaveworks we use gRPC extensively within Weave Cloud.
In this talk I discuss 5 of the stages we went through as we adopted gRPC, some of the problems we encountered and technologies we used to overcome them
2. Who Am I?
• Director Software Engineering
at Weaveworks
• Home brewer
Previously:
• SRE for Google Analytics
• Founder/CTO at Acunu
• Engineer at XenSource
@tom_wilkie
https://github.com/tomwilkie
4. 1. gRPC for Prometheus
Retriever
scraping
your jobs
Your DC
Weave Cloud
Frontend,
Authenticator
Distributor
Ingester
Distributor…
IngesterIngester
DynamoDB S3
http://goo.gl/qsJlrQ
gRPC?
11. 5. gRPC Streaming
• Cortex rolling upgrades
• Flush all data to S3
• Took >10mins per instance
12. 5. gRPC Streaming
New system uses gRPC streaming to send data to other
ingester.
Now takes ~14s per instance.
leaving
instance
weavecortex
joining
instance
weavecortex
gRPC stream
13. 1. gRPC for Prometheus
2. gRPC from Weave Cloud
3. gRPC monitoring
4. HTTP over gRPC
5. gRPC streaming