Aperture: A Non-Cooperative, Client-Side Load Balancing Algorithm
summary
Finagle implements a non‑cooperative, client‑side load balancer that replaces P2C at scale with deterministic aperture, a ring topology that maps instances to continuous coordinate slices and picks two random points in a client’s slice, weighting backends inversely by owned fraction. Deterministic aperture regains P2C fairness while keeping low session counts (~1/N per peer), cuts connections by ~91%, lowers request‑distribution variance by ~78%, and reduces CPU, GC, failures and p99 latencies.
AI-written summary · about
chapters (20)
- 0:00Intro
- 0:30TWITTERS CLIENT-SIDE LOAD BALANCER EVOLUTION
- 1:37SERVICE-TO-SERVICE LOAD BALANCING
- 3:22EXAMPLE SERVICE TOPOLOGY
- 9:36RANDOM APERTURE: UNFAIR
- 10:41RANDOM IS STATISTICAL
- 11:08CONFIGURED RANDOM APERTURE
- 12:28DISCRETE COORDINATES
- 14:17DESTINATION RING
- 14:55COMPOSITE RINGS
- 15:28SESSION HISTOGRAM
- 16:49CONTINUOUS COORDINATES
- 20:07MULTIPLE SERVICE RINGS
- 20:30CONTINUOUS COORDINATE MODEL
- 21:39DYNAMIC APERTURE SIZE
- 22:32RESILIENCY
- 25:58MIGRATION FROM RANDOM APERTURE TO D-APERTURE
- 28:29REDUCTION IN REQUEST RETRIES
- 29:44LIMITATIONS
- 30:34FUTURE WORK
related talks
30mDistributing systems in Scala with Fiangle
21mSvalinn: Overload Control in Large-Scale Servers with Multiple Resource Bottlenecks
19mLook Before, Before You Leap: Online Vector Load Balancing with Few Reassignments
16mTowards Optimal Rack-scale μs-level CPU Scheduling through In-Network Workload...
30mDistributing systems in Scala with Fiangle
01h 07mIndustry Presentations
25mAvoiding Overload in Distributed Systems
12mFlightplan: Dataplane Disaggregation and Placement for P4 Programs
