~/talk

Subsetting in gRPC: How We Implemented It at Datadog

Talkat gRPConf 2024 · on Tuesday, 2024-08-27· at 12:05· Coast Live Oak· [distributed-systems, networking]
links:none on file
slides:none on file

Datadog replaces full round‑robin with randomized subsetting plus rendezvous hashing to cut connection overhead while keeping stickiness, using subset size = 10 by default. Server CPU load reports are smoothed with a 1 minute moving average and fed into a distributed PID loop that replaces WRR’s static cost function; PID drives per‑server weights applied every weight update = 1s. Result: far fewer connections and markedly reduced server‑side imbalance; random subsetting RFC merged, PID RFC under review.

AI-written summary · about

  1. 0:00gRPC load balancing intro
  2. 1:46Round robin challenges
  3. 3:10Subsetting design goals
  4. 4:33Rendezvous hashing
  5. 6:19Random subsetting impact
  6. 7:46Rejecting deterministic subsetting
  7. 8:28WRR imbalance limits
  8. 10:13PID controller for balance
  9. 13:25Smoothing load reports
  10. 14:53Sync PID and WRR updates
  11. 15:56Tuning PID parameters
  12. 16:39Subsetting results
  13. 17:42Failure detection use case
  14. 18:43gRPC community PR
  15. 19:37Q&A: Rockset vs PID
  16. 20:38Q&A: Monetary and resource benefits
  17. 22:04Q&A: PID tuning
  18. 24:13Q&A: Community adoption
  19. 25:36Q&A: Connection churn
  20. 26:17Q&A: PID deployment cost
  21. 28:26Q&A: PID-WRR sync risks
  22. 30:12Q&A: Convergence speed
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.