GRPC AND PROTOBUFS
summary
Demonstrates a working phonebook: protobufs (proto3 required) define messages and an RPC service, compiled with protoc + gRPC plugin to produce contact.pb.go and contact_pb.js; a simple Go server, Node.js client is implemented (server stores contacts in a map, listens on :50051, createContact RPC returns the created Contact). Claims binary protobufs are ~3–10× smaller and ~20–100× faster than JSON/XML; gRPC adds HTTP/2, streaming, mutual TLS, deadlines, status codes, client-side load balancing and an ecosystem for metrics and tracing.
AI-written summary · about
