Next Generation Load Balancing: ALB with gRPC and HTTP/2

Next Generation Load Balancing

AWS announced an important update for the Application Load Balancer (ALB) in November 2020: Support for gRPC and HTTP/2.

HTTP/2 comes with request multiplexing over a single TCP connection, header compression (HPACK) which reduces network utilization, and a
binary protocol which reduces overhead in parsing data.

gRPC is a high-performance RPC framework with full-duplex streaming. It is designed to connect mircoservices efficiently and uses HTTP/2 under the covers.

[wpcc-element _tag=”source” type=”image/webp” srcset=”/images/2020/12/modern@730w.webp 730w, /images/2020/12/modern@730w2x.webp 1460w, /images/2020/12/modern@610w.webp 610w, /images/2020/12/modern@610w2x.webp 1220w, /images/2020/12/modern@450w.webp 450w, /images/2020/12/modern@450w2x.webp 900w, /images/2020/12/modern@330w.webp 330w, /images/2020/12/modern@330w2x.webp 660w, /images/2020/12/modern@545w.webp 545w, /images/2020/12/modern@545w2x.webp 1090w” sizes=”(min-width: 1200px) 730px, (min-width: 992px) 610px, (min-width: 768px) 450px, (min-width: 576px) 330px, 545px” _close=”0″]

This video includes a demo of a gRPC service running behind an ALB.

[wpcc-iframe class=”embed-responsive-item lozad” data-src=”https://www.youtube-nocookie.com/embed/4zVyRHXEWgM” allow=”accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture” allowfullscreen=””]