Overview
Explore the intricacies of Protocol Buffers (Protobuf) in this comprehensive 28-minute talk from PyCon US. Dive into serialization concepts, comparing static vs. dynamic typing and textual vs. binary formats. Learn about popular serialization frameworks and discover why Protobuf stands out. Gain insights into Protobuf's performance challenges, async synchronization, field encoding, and data deduplication. Understand the pros and cons of gRPC and explore Protobuf implementation over websocket or HTTP. Master effective Protobuf usage, from basic concepts to advanced optimization techniques, to enhance your software engineering skills.
Syllabus
Introduction
Variables
Memory
Considerations
Popular frameworks
Why use Protobuf
When not to use Protobuf
Protobuf overview
Primitives
Why Protobuf
Creating a Protobuf
Setting a breakpoint
Local variables
Optimization goals
Serialization
Strings
Serializing
Variants
Key Value
Key Variants
Field IDs
Reducing fields
Merging fields
Oneoff fields
Conclusion
Taught by
PyCon US