← Graph

gRPC

tool 8 connections

Universal RPC framework released as open source by Google on GitHub in 2015. Built on two pillars: HTTP/2 (multiplexed streaming, data compression) and Protocol Buffers (binary serialization/deserialization). Made for high performance, strong typing guarantees, data streaming, and security by design. Powers many public Google APIs and is used by AnyCable to connect the external WebSocket server to the Rails application. Trade-offs vs REST: much faster (streaming + binary encoding) but harder to integrate because client and server must share a protofile contract that has to be updated on both sides whenever it changes, and harder to debug because the wire format is not human-readable. In Emiliano's wroclove.rb 2026 talk he defines an OrderService protofile with a CreateOrder RPC, generates Ruby classes via Google's tooling, runs the gRPC server on port 50051, and drives it with grpcurl; he has used gRPC in production for a snowplow fleet-tracking application that needs to scale to ~10,000 vehicles the moment snow starts falling.

category
framework
released
2015
about
gRPC tool
Explains gRPC as the transport between AnyCable's WebSocket server and Rails.
First alternative protocol covered, with a Rails demo.
About gRPC adoption at Google.
Recommendation covers when to pick gRPC.
tool gRPC
uses
HTTP/2 tool
gRPC is built on top of HTTP/2 for multiplexed streaming.
tool gRPC
uses
gRPC uses Protocol Buffers for serialization.
project AnyCable
uses
gRPC tool
WebSocket server proxies Action Cable protocol to Rails via gRPC.
uses
gRPC tool
Used gRPC in production for a snowplow fleet-tracking application that scales to ~10,000 vehicles.

Provenance

Read by
17 extractions