The Technical Co-Founder Podcast with Fexingo: Engineering Founders, CTOs, and Building from Code

How One Startup Uses Cap'n Proto to Replace gRPC for Speed


Listen Later

Episode 104 dives into the engineering trade-off between gRPC and Cap'n Proto, a zero-copy serialization format that one startup used to cut inter-service latency by 60 percent. Lucas walks through how the company swapped protobuf-generated gRPC stubs for raw Cap'n Proto messages over TCP, eliminating serialization overhead in their data pipeline. Luna presses on the costs: loss of HTTP/2 streaming, no built-in health checking, and a steeper learning curve for the team. The episode includes concrete benchmarks—300 microseconds per call down from 1.2 milliseconds—and a candid discussion of when the trade-off makes sense (high-throughput, latency-sensitive paths) versus when it doesn't (public-facing APIs or polyglot environments). The hosts also touch on the broader trend of zero-copy serialization in systems programming and why startups with tight latency budgets are revisiting old assumptions about gRPC as a default.

#CapnProto #gRPC #Serialization #ZeroCopy #Latency #InterServiceCommunication #StartupEngineering #SystemsProgramming #ProtocolBuffers #TCP #Performance #Microservices #Backend #DataPipeline #BusinessAndTechnology #FexingoBusiness #BusinessPodcast #TheTechnicalCoFounder

Keep every episode free: buymeacoffee.com/fexingo

...more
View all episodesView all episodes
Download on the App Store

The Technical Co-Founder Podcast with Fexingo: Engineering Founders, CTOs, and Building from CodeBy Fexingo