Protocol Buffers Handbook: Getting deeper into Protobuf internals and its usage
Author: Clément Jean (Author)
Publisher finelybook 出版社: Packt Publishing
Publication Date 出版日期: 2024-04-30
Language 语言: English
Print Length 页数: 226 pages
ISBN-10: 1805124676
ISBN-13: 9781805124672
Book Description
Delve into google Protobuf with the help of practical examples and exercises for streamlined communication and seamless integration with gRPC
Key Features
- Encode and decode complex data structures, enhancing data interchange efficiency across systems
- Understand Protobuf by mastering the syntax, schema evolution, customizations, and more
- Integrate Protobuf into your preferred language ecosystem, ensuring interoperability and effective collaboration
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description
Explore how Protocol Buffers (Protobuf) serialize structured data and provides a language-neutral, platform-neutral, and extensible solution. With this guide to mastering Protobuf, you’ll build your skills to effectively serialize, transmit, and manage data across diverse platforms and languages.
This book will help you enter the world of Protocol Buffers by unraveling the intricate nuances of Protobuf syntax and showing you how to define complex data structures. As you progress, you’ll learn schema evolution, ensuring seamless compatibility as your projects evolve. The book also covers advanced topics such as custom options and plugins, allowing you to tailor validation processes to your specific requirements. You’ll understand how to automate project builds using cutting-edge tools such as Buf and Bazel, streamlining your development workflow. With hands-on projects in Go and Python programming, you’ll learn how to practically apply Protobuf concepts. Later chapters will show you how to integrate data interchange capabilities across different programming languages, enabling efficient collaboration and system interoperability.
By the end of this book, you’ll have a solid understanding of Protobuf internals, enabling you to discern when and how to use and redefine your approach to data serialization.
What you will learn
- Focus on efficient data interchange with advanced serialization techniques
- Master Protocol Buffers syntax and schema evolution
- Perform custom validation via Protoc plugins for precise data integrity
- Integrate languages seamlessly for versatile system development
- Automate project building with Buf and Bazel
- Get to grips with Go and Python integration for real-world Protobuf applications
- Streamline collaboration through system interoperability with Protobuf
Who this book is for
This book is for software developers, from novices to experienced programmers, who are interested in harnessing the power of Protocol Buffers. It’s particularly valuable for those seeking efficient data serialization solutions for APIs, microservices, and data-intensive applications. The content covered in this book accommodates diverse programming backgrounds, offering essential knowledge to both beginners and seasoned developers.
Table of Contents
- Serialization Primer
- ProtoBuf is a Language
- Describing Data with Protobuf’s Text Format
- Protoc: The Protobuf Compiler
- Serialization Internals
- Schema Evolution Over Time
- Adress Book- Go
- Adress Book- Python
- Developing a Protoc Plugin
- Advanced Build
About the Author
Clément Jean is the CTO of Education for Ethiopia, a start-up focusing on educating K-12 students in Ethiopia. On top of that, he is also an online instructor (on Udemy, Linux Foundation, and others) teaching people about different kinds of technologies. In both his occupations, he deals with technologies such as gRPC and how to apply them to real-life use cases. His overall goal is to empower people through education and technology.