SlideShare a Scribd company logo
@ Weaveworks
Tom Wilkie, 14/03/2017
Weave Online Users Group
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
Work on https://cloud.weave.works, our service for
exploring, deploying and monitoring Micro Services…
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?
1. gRPC for Prometheus
Prometheus AWS ELB Nginx Cortex
weavecortex
2. gRPC intra service
Weave Cloud
Frontend,
Authenticator
Distributor
Ingester
Distributor…
IngesterIngester
DynamoDB S3
gRPC?
gRPC?
gRPC?
3. gRPC monitoring
https://github.com/weaveworks/common/blob/master/middleware/
grpc_instrumentation.go
3. gRPC monitoring
4. HTTP over gRPC
https://www.weave.works/turtles-way-http-grpc/
https://github.com/weaveworks/common/tree/master/httpgrpc
Frontend
Backend
weavecortex
Client
HTTP
gRPC
- Frontend parses HTTP request
- Sends generic gRPC request
- Backend turns it back in HTTP
4. HTTP over gRPC
5. gRPC Streaming
• Cortex rolling upgrades
• Flush all data to S3
• Took >10mins per instance
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
1. gRPC for Prometheus
2. gRPC from Weave Cloud
3. gRPC monitoring
4. HTTP over gRPC
5. gRPC streaming
We’re hiring!
London BerlinSan Francisco

More Related Content

PDF
Loki: An Opensource Zipkin/Prometheus Mashup written in Go.
PDF
Client Side Monitoring With Prometheus
PDF
Microservices: Lessons Learned
PDF
Data Engineer's Lunch #23: Thanos/Cortex
PDF
Containers and Developer Defined Data Centers - Evan Powell - Keynote in Bang...
PPTX
End-to-end test automation with Endtest.dev
PDF
KUBEBOOT - SPRING BOOT DEPLOYMENT ON KUBERNETES
PDF
Cloud Native Java in Kubernetes
Loki: An Opensource Zipkin/Prometheus Mashup written in Go.
Client Side Monitoring With Prometheus
Microservices: Lessons Learned
Data Engineer's Lunch #23: Thanos/Cortex
Containers and Developer Defined Data Centers - Evan Powell - Keynote in Bang...
End-to-end test automation with Endtest.dev
KUBEBOOT - SPRING BOOT DEPLOYMENT ON KUBERNETES
Cloud Native Java in Kubernetes

What's hot (20)

PDF
Resilient microservices with Kubernetes - Mete Atamel - Codemotion Rome 2017
PDF
FaaS-and-Furious
PPTX
Monitoring Weave Cloud with Prometheus
PPTX
Event sourcing your React-Redux applications
PPTX
Monitoring mayhem - Using Prometheus
PDF
OpenWhisk and IBM cloud functions
PDF
Shipping NodeJS with Docker and CoreOS (No Notes)
PDF
JJUG CCC 2018 : Lessons Learned: Spring Cloud -> Docker -> Kubernetes
PPTX
Serverless
PDF
Adopting containers and kubernetes in production
PPTX
Cloud Solution Day 2016: Service Mesh for Kubernetes
PPTX
Kubernetes + netflix oss
PDF
OpenStack Ansible for private cloud at Kaidee
PPTX
Devoxx 2015 - Web Application Development using Grails and Docker
PDF
Netflix Cloud Platform and Open Source
PDF
Reflections On Serverless
PPTX
My slides from SharePoint Saturday Oslo
PPTX
Mutating Admission Webhook creation
PDF
Integration in the Cloud, by Rob Davies
PPTX
European SharePoint Conference - TH3
Resilient microservices with Kubernetes - Mete Atamel - Codemotion Rome 2017
FaaS-and-Furious
Monitoring Weave Cloud with Prometheus
Event sourcing your React-Redux applications
Monitoring mayhem - Using Prometheus
OpenWhisk and IBM cloud functions
Shipping NodeJS with Docker and CoreOS (No Notes)
JJUG CCC 2018 : Lessons Learned: Spring Cloud -> Docker -> Kubernetes
Serverless
Adopting containers and kubernetes in production
Cloud Solution Day 2016: Service Mesh for Kubernetes
Kubernetes + netflix oss
OpenStack Ansible for private cloud at Kaidee
Devoxx 2015 - Web Application Development using Grails and Docker
Netflix Cloud Platform and Open Source
Reflections On Serverless
My slides from SharePoint Saturday Oslo
Mutating Admission Webhook creation
Integration in the Cloud, by Rob Davies
European SharePoint Conference - TH3
Ad

Viewers also liked (20)

PDF
Grafana is not enough: DIY user interfaces for Prometheus
PPTX
HTTP2 and gRPC
PDF
Enabling Googley microservices with HTTP/2 and gRPC.
PDF
gRPC: The Story of Microservices at Square
PDF
Actividad 1 de curso
PPS
Abat oliba
PDF
Informe de los resultados de la prueba diagnóstica.
PPTX
Анализ работы урологической клиники за 2016 г.
PDF
Bringing Learnings from Googley Microservices with gRPC - Varun Talwar, Google
PDF
Curso introductorio maestria orientaciòn educativa.
PPTX
Kablosuz ağlar
PDF
Attestation Mooc soyez acteur de la sécurité de l'information
PPTX
Microservices: next-steps
PDF
Counter events prices
PPS
PDF
Content Area 2: Ancient Mediterranean part 2
PDF
gRPC and Microservices
PDF
SmartMEPlatformforBeDigital-UniMe
PDF
Service plan มหาราช 11 กุมภาพันธ์ 2559
PPT
Botijos y ollas
Grafana is not enough: DIY user interfaces for Prometheus
HTTP2 and gRPC
Enabling Googley microservices with HTTP/2 and gRPC.
gRPC: The Story of Microservices at Square
Actividad 1 de curso
Abat oliba
Informe de los resultados de la prueba diagnóstica.
Анализ работы урологической клиники за 2016 г.
Bringing Learnings from Googley Microservices with gRPC - Varun Talwar, Google
Curso introductorio maestria orientaciòn educativa.
Kablosuz ağlar
Attestation Mooc soyez acteur de la sécurité de l'information
Microservices: next-steps
Counter events prices
Content Area 2: Ancient Mediterranean part 2
gRPC and Microservices
SmartMEPlatformforBeDigital-UniMe
Service plan มหาราช 11 กุมภาพันธ์ 2559
Botijos y ollas
Ad

Similar to gRPC @ Weaveworks (20)

PDF
Iot meets Serverless
PDF
Week 4 lecture material cc (1)
PDF
week 4_watermark.pdfffffffffffffffffffff
PDF
Project Frankenstein: A multitenant, horizontally scalable Prometheus as a se...
PDF
IoT-javascript-2019-fosdem
PDF
Advanced nginx in mercari - How to handle over 1,200,000 HTTPS Reqs/Min
PDF
Make Data Smart Again 2018 - Building a Smart Security Camera with Raspberry ...
PDF
Azure Functions - Get rid of your servers, use functions!
PDF
Abusing bleeding edge web standards for appsec glory
PPTX
Building a REST API Microservice for the DevNet API Scavenger Hunt
PPTX
Automating Application over OpenStack using Workflows
PPTX
Docker Enterprise Workshop - Technical
PDF
Deep dive into serverless on Google Cloud
PPTX
Ultimate Guide to Microservice Architecture on Kubernetes
PDF
Edge computing in practice using IoT, Tensorflow and Google Cloud
PDF
'DOCKER' & CLOUD: ENABLERS For DEVOPS
PDF
Docker and Cloud - Enables for DevOps - by ACA-IT
PDF
Genomic Computation at Scale with Serverless, StackStorm and Docker Swarm
PDF
Getting Started with Apache Spark on Kubernetes
PDF
Serverless Security: Doing Security in 100 milliseconds
Iot meets Serverless
Week 4 lecture material cc (1)
week 4_watermark.pdfffffffffffffffffffff
Project Frankenstein: A multitenant, horizontally scalable Prometheus as a se...
IoT-javascript-2019-fosdem
Advanced nginx in mercari - How to handle over 1,200,000 HTTPS Reqs/Min
Make Data Smart Again 2018 - Building a Smart Security Camera with Raspberry ...
Azure Functions - Get rid of your servers, use functions!
Abusing bleeding edge web standards for appsec glory
Building a REST API Microservice for the DevNet API Scavenger Hunt
Automating Application over OpenStack using Workflows
Docker Enterprise Workshop - Technical
Deep dive into serverless on Google Cloud
Ultimate Guide to Microservice Architecture on Kubernetes
Edge computing in practice using IoT, Tensorflow and Google Cloud
'DOCKER' & CLOUD: ENABLERS For DEVOPS
Docker and Cloud - Enables for DevOps - by ACA-IT
Genomic Computation at Scale with Serverless, StackStorm and Docker Swarm
Getting Started with Apache Spark on Kubernetes
Serverless Security: Doing Security in 100 milliseconds

More from Weaveworks (20)

PDF
Weave AI Controllers (Weave GitOps Office Hours)
PDF
Flamingo: Expand ArgoCD with Flux (Office Hours)
PDF
Webinar: Capabilities, Confidence and Community – What Flux GA Means for You
PDF
Six Signs You Need Platform Engineering
PDF
SRE and GitOps for Building Robust Kubernetes Platforms.pdf
PDF
Webinar: End to End Security & Operations with Chainguard and Weave GitOps
PDF
Flux Beyond Git Harnessing the Power of OCI
PDF
Automated Provisioning, Management & Cost Control for Kubernetes Clusters
PDF
How to Avoid Kubernetes Multi-tenancy Catastrophes
PDF
Building internal developer platform with EKS and GitOps
PDF
GitOps Testing in Kubernetes with Flux and Testkube.pdf
PDF
Intro to GitOps with Weave GitOps, Flagger and Linkerd
PDF
Implementing Flux for Scale with Soft Multi-tenancy
PDF
Accelerating Hybrid Multistage Delivery with Weave GitOps on EKS
PDF
The Story of Flux Reaching Graduation in the CNCF
PDF
Shift Deployment Security Left with Weave GitOps & Upbound’s Universal Crossp...
PDF
Securing Your App Deployments with Tunnels, OIDC, RBAC, and Progressive Deliv...
PDF
Flux’s Security & Scalability with OCI & Helm Slides.pdf
PDF
Flux Security & Scalability using VS Code GitOps Extension
PDF
Deploying Stateful Applications Securely & Confidently with Ondat & Weave GitOps
Weave AI Controllers (Weave GitOps Office Hours)
Flamingo: Expand ArgoCD with Flux (Office Hours)
Webinar: Capabilities, Confidence and Community – What Flux GA Means for You
Six Signs You Need Platform Engineering
SRE and GitOps for Building Robust Kubernetes Platforms.pdf
Webinar: End to End Security & Operations with Chainguard and Weave GitOps
Flux Beyond Git Harnessing the Power of OCI
Automated Provisioning, Management & Cost Control for Kubernetes Clusters
How to Avoid Kubernetes Multi-tenancy Catastrophes
Building internal developer platform with EKS and GitOps
GitOps Testing in Kubernetes with Flux and Testkube.pdf
Intro to GitOps with Weave GitOps, Flagger and Linkerd
Implementing Flux for Scale with Soft Multi-tenancy
Accelerating Hybrid Multistage Delivery with Weave GitOps on EKS
The Story of Flux Reaching Graduation in the CNCF
Shift Deployment Security Left with Weave GitOps & Upbound’s Universal Crossp...
Securing Your App Deployments with Tunnels, OIDC, RBAC, and Progressive Deliv...
Flux’s Security & Scalability with OCI & Helm Slides.pdf
Flux Security & Scalability using VS Code GitOps Extension
Deploying Stateful Applications Securely & Confidently with Ondat & Weave GitOps

Recently uploaded (20)

PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Cloud computing and distributed systems.
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Big Data Technologies - Introduction.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
PDF
Electronic commerce courselecture one. Pdf
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PPT
Teaching material agriculture food technology
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Approach and Philosophy of On baking technology
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
Per capita expenditure prediction using model stacking based on satellite ima...
Cloud computing and distributed systems.
“AI and Expert System Decision Support & Business Intelligence Systems”
Big Data Technologies - Introduction.pptx
Chapter 3 Spatial Domain Image Processing.pdf
MYSQL Presentation for SQL database connectivity
Advanced methodologies resolving dimensionality complications for autism neur...
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
Electronic commerce courselecture one. Pdf
NewMind AI Monthly Chronicles - July 2025
GamePlan Trading System Review: Professional Trader's Honest Take
Teaching material agriculture food technology
Reach Out and Touch Someone: Haptics and Empathic Computing
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Mobile App Security Testing_ A Comprehensive Guide.pdf
Approach and Philosophy of On baking technology
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...

gRPC @ Weaveworks