JALURI 17,453 SUMMARIES / 50 SOURCES
SEARCH LAST PASS 07:00 ATOM

How and Why Netflix Built a Real-Time Distributed Graph: Part 3 — Querying the graph with gRPC…

Netflix developed a Real-Time Distributed Graph (RDG) with a gRPC execution API to efficiently query a vast, evolving graph, optimizing for low latency and high throughput by employing breadth-first traversal, asynchronous execution, selective caching, and adaptive concurrency control.

MAIN POINTS
  1. The RDG efficiently handles diverse query patterns, from shallow-wide to deep-narrow, with sub-100ms latency.
  2. Breadth-first traversal and async execution reduce latency and resource usage, enabling high throughput.
  3. Selective caching of stable data improves efficiency, avoiding unnecessary storage calls.
  4. Adaptive concurrency control maintains performance under varying loads by dynamically adjusting limits.
TAKEAWAYS
  1. Asynchronous composition significantly reduces infrastructure costs by minimizing idle thread time.
  2. A layered filtering hierarchy allows flexible query customization without code changes.
  3. Selective caching based on data volatility achieves high cache hit rates and reduces latency.
  4. Breadth-first traversal and parallel execution optimize resource usage and maintain low latency.
READ THE ORIGINAL