Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the advantages of using Protocol Buffers and gRPC for microservices communication in this EuroPython 2017 conference talk. Dive deep into the benefits of protocol buffers, including robust schema enforcement, compact binary serialization, and easy backward compatibility. Learn how to define API messages in proto format, reuse them across different services, and implement gRPC endpoints. Discover techniques for handling timeouts, deadlines, and cancellations in distributed systems. Compare Protocol Buffers to JSON, understand the fallacies of distributed computing, and examine real-world success stories of implementing these technologies.
Syllabus
Intro
JSON advantages
Protocol Buffers?
Protocol Buffers example
Why protocol buffers
Response headers
Distributed objects
The 8 Fallacies of distributed computing
How does it work
Generate server code
Implementing the service
Service code
Client code (async)
Timeouts
Uniform timeout
Adaptive timeout
Deadline propagation
Cancellation
Backward compatibility
Success stories
Taught by
EuroPython Conference