Upgrade to Pro — share decks privately, control downloads, hide ads and more …

The Service Mesh

The Service Mesh

You’re using Docker. You’re on Kubernetes. You’re building microservices. And now you’re fully ready to scale to arbitrary workloads and gracefully handle partial failures. Or are you? In this talk, former Twitter engineer Oliver Gould describes a critical component of every cloud native application: the “service mesh” that defines how services communicate with each other, shed load, and propagate failure. He traces the lineage of the service mesh from client-specific implementations, to libraries like Finagle, Hysterix, and Stubby, to modern proxy-based incarnations like Linkerd. If you’re writing cloud native applications today, the service mesh is a critical part of ensuring that they can be fast, scalable, and reliable.

Oliver Gould

May 24, 2017
Tweet

More Decks by Oliver Gould

Other Decks in Programming

Transcript

  1. resilience The property of a material that enables it to

    resume its original shape after being bent, stretched, or compressed.
  2. operational stress variable load
 hardware failure
 bugs
 the unexpected
 resilient

    strategies dynamic orchestration
 load balancing
 timeouts & retries
 circuit breaking

  3. cloud native abstractions Virtual machines Data centers Hardware redundancy Servers

    IP addresses, DNS Server monitoring Monolithic applications TCP/IP Containers Orchestrated envs Design for failure Services Service discovery Service monitoring Microservices gRPC, REST
  4. Nginx Nginx Nginx DB DB DB Fat clients svc svc

    svc svc svc svc svc svc svc svc svc libraries
  5. Nginx Nginx Nginx DB DB DB The service mesh svc

    svc svc svc svc svc svc svc svc svc svc service mesh service mesh
  6. The Linkerd service mesh Service C Service B Service A

    linkerd Service C Service B Service A linkerd Service C Service B Service A linkerd application HTTP proxied HTTP monitoring & control Node 1 Node 2 Node 3 Service C Service B Service A linkerd application HTTP proxied HTTP monitoring & control Node 1
  7. The service mesh at GlueCon Small, Fast, Memory Safe Network

    Proxies: Rust Meets the Linkerd Service Mesh
 - Carl Lerche (Buoyant), Breakout #3 at 11 today
 
 Linkerd booth Istio: A Holistic Approach to Managing Service-Mesh Traffic on Kubernetes 
 - Louis Ryan (Google) & Shiriram Rajagopalan (IBM)