Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CNCF [Cloud Native Computing Foundation]

Envoy, Take the Wheel - Real-time Adaptive Circuit Breaking

CNCF [Cloud Native Computing Foundation] via YouTube

Overview

Coursera Plus Annual Sale: All Certificates & Courses 25% Off!
Explore real-time adaptive circuit breaking in Envoy through this 34-minute conference talk from KubeCon + CloudNativeCon. Dive deep into Envoy's Adaptive Concurrency Control feature, which dynamically tunes circuit breaker thresholds using real-time sampling of request latencies. Learn about simulating traffic, concurrency and circuit breaking concepts, and the challenges of properly configuring circuit breakers. Discover how adaptive concurrency control works, its behavior in various scenarios, and practical experiences from its deployment in Lyft's production service mesh. Gain insights into configuring adaptive concurrency, its impact on bad deploys, and how it responds to service degradation and upstream dependency issues.

Syllabus

Envoy, take the wheel: Realtime adaptive circuit breaking Protecting Microservices with Adoptive Concurrency
Agenda • Simulating traffic. • Concurrency and circuit breaking. • Adaptive concurrency control. • Tales from lyn infra
Simulations.
Full Simulation Output.
Simulating Traffic Overload.
Concurrency. There's some number of requests a system can service at any given time
Really, bursts are fine.
Envoy concurrency limits via circuit breaking. Cluster Max Connections Limit number of retries outstanding
Revisiting Traffic Overload!
Properly configuring circuit breakers. Understand service limitations
Properly configuring circuit breakers is hard. Service owners shouldn't have to profile concurrency
Configuring limits in an ideal world... No manual configuration
Envoy Filters
HTTP Connection Manager Network Filter Parses raw bytes over connection • Bytes are converted into HTTP messages • Allows Envoy to operate at a higher level of abstraction Contains an HTTP filter chain Agnostic to underlying protocols (HTTP/1, HTTP/2, RPC) HTTP filters
The gradient
Concurrency Limit Behavior.
There's more...
Adaptive Concurrency Control Filter
Adaptive Concurrency in Action
Adaptive Concurrency i ction
Steady-state with min_concurrency too low.
Configuring Adaptive Concurrency jitter
Experiences @lyR: Our default settings Our default adaptive concurrency settings
Experiences @ lyR: General observations Almost all adaptive concurrency events are due to service degradation, not spikes in RPS. Bad deploys Upstream dependency outages/delays.
Experiences @ lyR: The bad deploy Changes went out that resulted in elevated CPU utilization

Taught by

CNCF [Cloud Native Computing Foundation]

Reviews

Start your review of Envoy, Take the Wheel - Real-time Adaptive Circuit Breaking

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.