AI Inference Pipelines – Building Low-Latency Systems With gRPC
summary
Built a production inference pipeline using gRPC + Protocol Buffers with persistent HTTP/2 channels, bidirectional async streaming and adaptive batching, achieving 5–10x lower latency versus JSON/REST in their benchmarks. Serving uses Triton/TensorFlow/Torch backends, GPU request batching, Redis-style model cache and Prometheus/Grafana/Jaeger for observability. What works: connection reuse, streaming, async handling; what fails: message marshalling adds small overhead and native browser support is limited, so gRPC‑Web or REST fallback is required. Roadmap includes multimodel routing, edge gRPC‑Web and ONNX/TensorRT/OpenVINO optimizations.
AI-written summary · about
chapters (13)
- 0:00Welcome
- 1:02AI inference pipelines matter
- 3:10Milliseconds count in AI
- 3:53REST vs gRPC for AI
- 6:25AI inference architecture
- 8:32Performance bottlenecks and fixes
- 9:17Observability in AI pipelines
- 10:20Benchmarks and hyperscaler use
- 12:30gRPC open-source contributions
- 13:34What worked and what didn’t in our gRPC setup
- 15:00Future of AI inference with gRPC
- 16:45Key takeaways
- 17:06Q&A: gRPC batching
related talks
18mgRPC and AI
43mEmpowering Real-Time ML Inference and Training with GRIS
19mThe Future of Inference for Complex AI Applications
32mEnhancing the Performance Testing Process for gRPC Model Inferencing at Scale
19mScalable Data and AI Solutions with Cloud-Native Architecture
36mApplied AI on the edge
23mThe Race to the Bottom: Low Latency in the age of the Transformer
18mDeploying ML solutions with low latency in Python
